package cn.theten52.demo.patterns.design.behavior.mediation.update1;

/**
 * TODO
 *
 * @author wangjin
 * @date 2021/4/3
 */
public abstract class AbstractMediator {
    protected AbstractColleague A;
    protected AbstractColleague B;

    public AbstractMediator(AbstractColleague a, AbstractColleague b) {
        A = a;
        B = b;
    }

    public abstract void AaffectB();

    public abstract void BaffectA();

}
